package bean;

import java.math.BigDecimal;
import java.util.Date;

public class Orders {
	private String orderId;//订单编号
	private String oStaffId;//员工编号
	private String oCustomerId;//客户编号
	private String oRoomId;//客房编号
	private Date oTime;//时间
	private BigDecimal oDeposit;//入住人数
	private int oState;//订单状态
	
	public Orders() {
		super();
	}

	public Orders(String orderId, String oStaffId, String oCustomerId, String oRoomId, Date oTime, BigDecimal oDeposit,
			int oState) {
		super();
		this.orderId = orderId;
		this.oStaffId = oStaffId;
		this.oCustomerId = oCustomerId;
		this.oRoomId = oRoomId;
		this.oTime = oTime;
		this.oDeposit = oDeposit;
		this.oState = oState;
	}

	public String getOrderId() {
		return orderId;
	}

	public void setOrderId(String orderId) {
		this.orderId = orderId;
	}

	public String getoStaffId() {
		return oStaffId;
	}

	public void setoStaffId(String oStaffId) {
		this.oStaffId = oStaffId;
	}

	public String getoCustomerId() {
		return oCustomerId;
	}

	public void setoCustomerId(String oCustomerId) {
		this.oCustomerId = oCustomerId;
	}

	public String getoRoomId() {
		return oRoomId;
	}

	public void setoRoomId(String oRoomId) {
		this.oRoomId = oRoomId;
	}

	public Date getoTime() {
		return oTime;
	}

	public void setoTime(Date oTime) {
		this.oTime = oTime;
	}

	public BigDecimal getoDeposit() {
		return oDeposit;
	}

	public void setoDeposit(BigDecimal oDeposit) {
		this.oDeposit = oDeposit;
	}

	public int getoState() {
		return oState;
	}

	public void setoState(int oState) {
		this.oState = oState;
	}

	@Override
	public String toString() {
		return "Orders [orderId=" + orderId + ", oStaffId=" + oStaffId + ", oCustomerId=" + oCustomerId + ", oRoomId="
				+ oRoomId + ", oTime=" + oTime + ", oDeposit=" + oDeposit + ", oState=" + oState + "]";
	}

	
}